﻿using System;
using System.Collections.Generic;
using Game1942.Library.Background;

namespace Game1942.Library.FlightPlans
{
    public abstract class FlightPlan
    {
        protected Point actualPosition;
        protected int speed;

        protected FlightPlan()
        {
            Speed = 1;
        }

        public int Speed
        {
            set { speed = value; }
        }

        protected FlightPlan(int speed)
        {
            this.speed = speed;
        }

        // Get the next point on the trajectory of the flight plan
		// Needs to be virtual so that we can do the escaping
        public virtual Point GetNext()
        {
            return null;
        }

        public virtual Point ActualPosition
        {
            set { actualPosition = new Point(value); }
        }
    }
}
